import QtQuick 2.0
import "../components"

// 热盖
Item {

    id: root
    property int lidPage: 0

    anchors.fill: parent


    Rectangle{          // 上面的tab行
        height: 60*dp
        width: root.width
        Row{
            x: 12*dp
            spacing: 24*dp
            PushButton{
                height: 40*dp
                width: 70*dp
                y: 20*dp
                title: "温度校正"
                underlineSelect: true
                isSelected: lidPage === 0
                onReleased: {
                    lidPage = 0
                }
            }
        }
        CustomBorder{
            bBorderwidth: 1
            borderColor: "#CCCCCC"
        }


    }
    Item{

        height: parent.height - 80*dp
        width: parent.width - 40*dp
        y: 80*dp
        x: 20*dp
        MaintainHeatLid_Temperature{
            visible: lidPage === 0
        }

    }
}
